Welcome![Sign In][Sign Up]
Location:
Search - event class

Search list

[Linux-UnixSensorEvent

Description: This class represents a android.hardware.Sensor Sensor event and holds informations such as the sensor s type, the time-stamp, accuracy and of course the sensor s SensorEventvalues data.
Platform: | Size: 4096 | Author: yokeziu | Hits:

[Delphi VCLDelphi_217134

Description: Delphi:Delphi环境下的一个pas类文件,用于idtcpserver断开与连接客户端,使用这个类可连接或断开idtcpserver客户端,当客户端主动与服务端断开时,idtcpserver事件Disconnect能够接到消息,当客户端主动与服务端连接时,idtcpserver事件Connect能够接到消息…… -Delphi: a pas class file Delphi environment for idtcpserver disconnect clients, using this class can be connected or disconnected idtcpserver client, when the client is disconnected from the server-side initiative, idtcpserver event Disconnect able to receive message when the client and server to connect initiative, idtcpserver connect event can receive messages ......
Platform: | Size: 1024 | Author: HO8IQZS | Hits:

[androidSlidingDemo

Description: android手势左右与按钮混合触发滑动效果实现,通过不断的移动布局,形成动画效果。布局移动参考了SlidingDrawer,每次移动的时间间隔,20ms,当前时间是SystemClock的时间,平衡总量和每次平移的距离在代码中请自行设置,移动布局,偏移量为offsetX,编写过程中要注意,一定要将触屏事件交给手势识别类去处理(自己处理会很麻烦的)。-android gesture left button triggers mixed with sliding effect achieved through continuous movement layout, form animation. Layout of the mobile reference SlidingDrawer, each movement interval, 20ms, the current time is SystemClock time, the balance amount and distance of each pan in the code at your own settings, mobile layout, offset offsetX, the preparation process to note, be sure to touch gesture recognition event to the class to deal with (deal with their own would be very troublesome).
Platform: | Size: 1173504 | Author: zjb | Hits:

[Game ProgramActionListener

Description: import java.awt.* import java.awt.event.* public class Calculator implements ActionListener { String s= " ",s1 double d1,d2 JFrame jf = new JFrame( "计算器 ") JTextField tf = new JTextField() public void init()//实现计算器界面 { Container c=jf.getContentPane() tf.setHorizontalAlignment(JTextField.RIGHT) //文本框 c.add(tf, "North ") JPanel pn3 = new JPanel(new BorderLayout(-import java.awt.* import java.awt.event.* public class Calculator implements ActionListener { String s= " ",s1 double d1,d2 JFrame jf = new JFrame( "计算器 ") JTextField tf = new JTextField() public void init()//实现计算器界面 { Container c=jf.getContentPane() tf.setHorizontalAlignment(JTextField.RIGHT) //文本框 c.add(tf, "North ") JPanel pn3 = new JPanel(new BorderLayout())
Platform: | Size: 1024 | Author: pdadns | Hits:

[Internet-Networkmojo-master

Description: 实时网络框架。 强大的REST风格的路线,插件,命令,Perl模板框,内容协商,会话管理,表单验证,测试框架,静态文件服务器,一流的Unicode支持和更多的等你来发掘-Features An amazing real-time web framework, allowing you to easily grow single file Mojolicious::Lite prototypes into well structured web applications. Powerful out of the box with RESTful routes, plugins, commands, Perl-ish templates, content negotiation, session management, form validation, testing framework, static file server, first class Unicode support and much more for you to discover. Very clean, portable and Object Oriented pure-Perl API without any hidden magic and no requirements besides Perl 5.10.1 (although 5.18+ is recommended, and optional CPAN modules will be used to provide advanced functionality if they are installed). Full stack HTTP and WebSocket client/server implementation with IPv6, TLS, SNI, IDNA, Comet (long polling), keep-alive, connection pooling, timeout, cookie, multipart, proxy, and gzip compression support. Built-in non-blocking I/O web server, supporting multiple event loops as well as optional preforking and hot deploymen
Platform: | Size: 798720 | Author: jack | Hits:

[JSP/Javajsweixindfj

Description: 纯JavaScript模仿微信打飞机游戏,做网页小游戏的借鉴下,界面设计是竖长形仿手机屏幕风格,游戏效果流畅。具有分数统计,里面的JS封装类中包括有创建飞机类、飞机移动行为控制,创建子弹类,产生min到max之间的随机数,判断本方飞机是否移出边界,如果移出边界,则取消mousemove事件,反之加上mousemove事件,为暂停界面的继续按钮添加暂停事件,创建敌方飞机类、碰撞判断、完成界面的初始化,敌方小飞机一个,我方飞机一个。-Pure JavaScript to mimic the micro-channel planes games, web games do reference, interface design is an elongated vertical screen style imitation mobile phone, game results and smooth. Have fractional statistics, which the JS wrapper classes include classes created aircraft, aircraft control movement behavior, create bullet classes, random number generation min to max between the aircraft to determine whether the party out of the boundaries, if removed from the border, then canceled mousemove event, whereas plus mousemove event, adding to continue pause button to pause interface events, create class enemy aircraft, collision judgment, complete interface initialization, one, our enemy aircraft a small plane.
Platform: | Size: 234496 | Author: heibao | Hits:

[JSP/Javajsweixindfj

Description: 纯JavaScript模仿微信打飞机游戏,做网页小游戏的借鉴下,界面设计是竖长形仿手机屏幕风格,游戏效果流畅。具有分数统计,里面的JS封装类中包括有创建飞机类、飞机移动行为控制,创建子弹类,产生min到max之间的随机数,判断本方飞机是否移出边界,如果移出边界,则取消mousemove事件,反之加上mousemove事件,为暂停界面的继续按钮添加暂停事件,创建敌方飞机类、碰撞判断、完成界面的初始化,敌方小飞机一个,我方飞机一个-Pure JavaScript to mimic the micro-channel planes games, web games do reference, interface design is an elongated vertical screen style imitation mobile phone, game results and smooth. Have fractional statistics, which the JS wrapper classes include classes created aircraft, aircraft control movement behavior, create bullet classes, random number generation min to max between the aircraft to determine whether the party out of the boundaries, if removed the border, then canceled mousemove event, whereas plus mousemove event, adding to continue pause button to pause interface events, create class enemy aircraft, collision judgment, complete interface initialization, the enemy of a small plane, one of our aircraft
Platform: | Size: 233472 | Author: lpudn81 | Hits:

[JSP/JavaUSEFTPAPPLET.JAVA

Description: Java源码,网络相关,FTP Java编写实现一个FTP客户端程序,通过该客户端连接指定的服务器。useFtpApplet 类继承了Applet 类,在init()中实现的是此Applet 的初始化,设置布局和背景,建立文本、标签和文本域。   Connect()方法使用主机地址、用户名和密码作为参数,建立与主机的连接。使用new 生成新的FtpClient 类实例,使用login()方法登录FTP 服务器,调用showFileContents()方法显示文件内容。   Stop()方法使用FtpClient 对象的closeServer()方法关闭服务器连接。   Action()方法监听按钮,并对发生的按钮事件进行处理,通过使用判定语句evt.target == BtnConn来跟踪用户是否单击连接按钮,如果发生单击事件,则通过调用connect()方法来进行连接。如果evt.target == BtnClose 则调用stop()方法来断开连接。   SendFile()方法实现的是上载文件的功能。ShowFileContents()方法显示文件内容。在main()方法中生成此类实例,初始化线程,启动线程。-Java source code, network-related, FTP Java prepared to achieve an FTP client program, through which clients connect to the specified server. useFtpApplet class inherits the Applet class, init () is initialized in the realization of this Applet, set the layout and background, the establishment of the text, labels and text fields. Connect () method uses the host address, user name and password as parameters to establish a connection with the host. Use new FtpClient generate a new instance of the class, using the login () method to log FTP server, call showFileContents () method to display the file contents. Stop () method uses FtpClient object closeServer () method to close the server connection. Action () method listening button, and button events are processed through the use of judgment statement evt.target == BtnConn to track whether users click the Connect button, if you click an event occurs, by calling the connect () method to perform connection. If evt.target == BtnClose
Platform: | Size: 8192 | Author: Meikao | Hits:

[CSharplight

Description: • 应用逻辑设计 1. 灯类 a. 主要属性和行为: 亮熄状态,关联图片资源对象,接受客户的亮熄要求 b. 类CLight 成员变量: m_state 成员函数: init, getState, setState 2. 开关类 a. 主要属性和行为: 关联所控的电灯CLight,接受客户的按动操作 b. 类CSwitch 成员变量: m_pLight 成员函数: init, push 3. 实例对象: 两个开关,一个灯; 操作过程:点击界面按钮,响应点击事件,调用开关的成员函数push,从而点亮或熄灭电灯 • 注意:上述的逻辑代码写在一个头文件中,使用内联式实现其成员函数,并提交。-• application logic design 1. Light class A. the main attributes and behaviors: bright quenching condition, associated resource object images, accept the bright quenching requirements of our clients B. class CLight Member variables: m_state A member function: init, getState, setState 2. Switch class A. the main attributes and behaviors: correlation of the lights CLight, accept customer press operation B. class CSwitch Member variables: m_pLight A member function: init, push 3. The instance objects: two switch, a lamp Operation: click on the button, click event response, invoke the member function push switch, to light up or put out the light . Note: the above logic code written in a header file, use inline type to achieve its member functions, and submit.
Platform: | Size: 1881088 | Author: yangzheng | Hits:

[JSP/JavaFontDialog

Description: package propack import javax.swing.* import java.awt.* import java.awt.event.* public class FontDialog implements ActionListener,ItemListener- FontDialog
Platform: | Size: 2048 | Author: hgjgf | Hits:

[JSP/JavaWindowAdapter

Description: 处理窗口事件时监听器类设置为WindowAdapter的子类例子源代码,仅供学习参考用。-When processing a window event listener class to subclass WindowAdapter example source code, only to learn reference.
Platform: | Size: 3072 | Author: 风灵 | Hits:

[JSP1

Description: 本书包括三周的课程,通过阅读这些课程,读者将具备使用Java开发应用程序、小程序和servlet三种程序的知识和技能。介绍Java语言的基本知识,包括数据类型、变量、表达式、对象、数级、条件语句、循环、类、接口、包异常和线程、向量、堆栈、映射、哈希表和位组等数据结构以及Swing组件、布局管理器、事件处理类和小程序等。-The book includes three weeks of the course, by reading these courses, the reader will have to develop applications using the Java applet and servlet three kinds of procedural knowledge and skills. Introduce the basics of the Java language, including data types, variables, expressions, object, class number, conditional statements, loops, classes, interfaces, including exceptions and threads, vectors, stacks, mapping, hash tables and bit sets and other data structures and Swing components, layout managers, event handling class and small programs.
Platform: | Size: 16122880 | Author: hao | Hits:

[JSP/Javach20

Description: Java事件、接口以及链表的实现代码,多个类,很好的入门学习材料-Java event, interface and implementation code list, more than one class, a very good entry-learning materials
Platform: | Size: 8192 | Author: 黄为民 | Hits:

[Game Programpintu

Description: 设计一个用java语言实现的数字拼图小游戏。界面主要由15个按钮,按钮上数字从“1”到“15”,面板采用网格布局,4*4分布。主要用到了awt包中的Frame、Butto,awt.event 包中的ActionListener、WindowListener接口,util包中的随机数(Random)类产生随机数。 数字移动是通过交换label属性。-Design a digital implementation using Java language puzzle game. Interface is mainly composed of 15 buttons, button number \ 1\ to \ 15\ panel using the grid layout, 4* 4 distribution. Mainly use the awt package of Frame, Butto, awt. The event package of ActionListener, WindowListener interface, util package of Random Numbers (Random) class generates Random number. Digital mobile is through the exchange of label attribute
Platform: | Size: 2048 | Author: 任姣 | Hits:

[Linux-UnixQtthread

Description: QT通过三种形式提供了对线程的支持。它们分别是,一、平台无关的线程类,二、线程安全的事件投递,三、跨线程的信号-槽连接。这使得开发轻巧的多线程Qt程序更为容易,并能充分利用多处理器机器的优势。多线程编程也是一个有用的模式,它用于解决执行较长时间的操作而不至于用户界面失去响应-QT through three forms provides support for threads. They are respectively, a thread class, platform independent, thread safety event delivery, three, signal- slot connection across threads. This makes it easier to develop lightweight multithreaded Qt program, and can make full use of the advantage of the multiprocessor machine. Multithreaded programming is a useful model, which is used to solve a longer operation on without lose response user interface
Platform: | Size: 671744 | Author: jz | Hits:

[.net101036-0-dessin-sans-paint

Description: This source code shows that i s possible to draw without using the Paint event. It consists of three forms and a class. Thereof, named AutoRedraw, nod to the nostalgic vb6, provides three graphic objects to drawing on any label control while PictureBox control, and all form. We limited ourselves to two types of controls, but you can put it all kinds of controls as we please, provided they are visual. In this case, three design possibilities are recovered in the startup form named Home , with three buttons marked Drawing Lab for the Label, Draw Pic for PictureBox controls, Draw Frm for Forms. The second form, named Drawings were deposited two checks Lab Ace Label, Pic As PictureBox and it is on these controls and the form itself we drew. The third form, called Mask and placed in the foreground, is there to allow the user to agitate before the drawings to be convinced that Paint the event has nothing to do with it. Comments are welcome.-This source code shows that it is possible to draw without using the Paint event. It consists of three forms and a class. Thereof, named AutoRedraw, nod to the nostalgic vb6, provides three graphic objects to drawing on any label control while PictureBox control, and all form. We limited ourselves to two types of controls, but you can put it all kinds of controls as we please, provided they are visual. In this case, three design possibilities are recovered in the startup form named Home , with three buttons marked Drawing Lab for the Label, Draw Pic for PictureBox controls, Draw Frm for Forms. The second form, named Drawings were deposited two checks Lab Ace Label, Pic As PictureBox and it is on these controls and the form itself we drew. The third form, called Mask and placed in the foreground, is there to allow the user to agitate before the drawings to be convinced that Paint the event has nothing to do with it. Comments are welcome.
Platform: | Size: 18432 | Author: min2max | Hits:

[VC/MFCCPP_GUI_Qt4

Description: 本书介绍了Qt的基础知识和编写用户界面应用程序时所需的基本概念,主要讲解Qt的中高级编程,包括布局管理、事件处理、二维/三维图形、拖放、项视图类、容器类、输入/输出、数据库、多线程、网络、XML、国际化、嵌入式编程等内容-This book introduces the basic concepts of the basics of Qt needed to write the user interface of the application and, mainly on senior Qt programming, including layout management, event handling, 2D/3D graphics, drag and drop, item view classes, container class, input/output, , multithreading, networking, XML, internationalization, embedded programming, etc.
Platform: | Size: 2030592 | Author: xg | Hits:

[JSP/Javacontroller

Description: 找出第8 章中的GreenhouseControls 例程,其中包含三个源代码文件。 1)在GreenhouseControls.java 中,内部类Restart 中将各种事件写死。请修改该程序,让它可以自文本文件中读出各事件及其相对时间; 2)在Controller.java 中,请改以linkedList 容器取代EventSet,并以Iterator来遍历所有事件。考虑此处可以用for each 语法来替换Iterator 吗?-Find the eighth chapter in the GreenhouseControls routines, which contains three source code file. 1) in GreenhouseControls.java, the internal class Restart will write all kinds of events. Please modify the program, so that it can read the text file in the event and its relative time 2) in the Controller.java, please replace the linkedList with the EventSet container, and Iterator to traverse all the events. Consider that you can replace the Iterator with the each for syntax.
Platform: | Size: 3072 | Author: danny | Hits:

[Otherdplynet

Description: Deploying Applications and Components to .NET This book describes how to use PowerBuilder .NET wizards to generate both Web Forms and Windows Forms applications and to generate Web services and .NET assemblies PowerBuilder custom class user objects. It provides information on design and coding considerations for converting PowerBuilder 11.5 applications to .NET applications. It also describes the client-side events and event handlers you can use to enhance the performance of your Web Forms applications.-Deploying Applications and Components to .NET This book describes how to use PowerBuilder .NET wizards to generate both Web Forms and Windows Forms applications and to generate Web services and .NET assemblies PowerBuilder custom class user objects. It provides information on design and coding considerations for converting PowerBuilder 11.5 applications to .NET applications. It also describes the client-side events and event handlers you can use to enhance the performance of your Web Forms applications.
Platform: | Size: 1447936 | Author: nosolo | Hits:

[ActiveX/DCOM/ATLmyOLE

Description: TEventSink是OLE事件的解释类,很实用.单元还附带了从文件创建COM实例的方法-EventSink OLE class event is to explain, very practical. Unit also comes with a COM instance creation methods file
Platform: | Size: 1024 | Author: sw | Hits:
« 1 2 ... 7 8 9 10 11 1213 »

CodeBus www.codebus.net